package com.sora.user.mapper;

import com.sora.basic.dto.PhoneDto;
import com.sora.user.domain.User;
import com.sora.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Àgä±
 * @since 2023-02-07
 */
public interface UserMapper extends BaseMapper<User> {

    User loadByPhone(String phone);

    void updateState(@Param("state") Integer state, @Param("email") String email);

    User loadByLogininfoId(Long id);
}
